Package com.netscape.cmscore.jobs
Class CronItem
java.lang.Object
com.netscape.cmscore.jobs.CronItem
class representing one Job cron item
here, an "item" refers to one of the 5 fields in a cron string; "element" refers to any comma-deliminated element in an "item"...which includes both numbers and '-' separated ranges.
for each of the 5 cron fields, it's represented as a CronItem
- Version:
- $Revision$, $Date$
- Author:
- cfu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget the vector stuffed with elements where each element is represented as CronRangevoid
parses and sets a string cron item
-
Field Details
-
logger
public static org.slf4j.Logger logger -
ALL
- See Also:
-
DELIM
- See Also:
-
RANGE
- See Also:
-
mElements
-
-
Constructor Details
-
CronItem
public CronItem(int min, int max)
-
-
Method Details
-
set
parses and sets a string cron item- Parameters:
sItem
- the string representing an item of a cron string. item can be potentially comma separated with ranges specified with '-'s- Throws:
EBaseException
-
getElements
get the vector stuffed with elements where each element is represented as CronRange- Returns:
- a vector of CronRanges
-